//
//  HLCallTool.h
//  YueYue
//
//  Created by hulu001 on 2023/6/20.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HLCallTool : NSObject


+ (instancetype)shareInstance;

 /// 男加入闪聊房间
- (void)joinRoom:(NSString *)roomId
        fromUser:(HLUserInfoModel *)fromUser
            OnVC:(UIViewController *)onVc;

 /// 呼叫某个用户
- (void)callUser:(HLUserInfoModel *)toUserInfor
            OnVC:(UIViewController *)onVc;


/// 视频匹配
- (void)matchUser:(HLUserInfoModel *)toUserInfor
             OnVC:(UIViewController *)onVc
         callback:(HLCommonCallbackBoolBlock)callback;

 /// 收到呼叫
- (void)calledFormCallUser:(HLUserInfoModel *)fromUserInfor
                      OnVC:(UIViewController *)onVc;

/// 一键接听
- (void)accept:(HLUserInfoModel *)fromUserInfor
          OnVC:(UIViewController *)onVc;


- (BOOL)isInCall;

@end

NS_ASSUME_NONNULL_END
